.w-100 {
  width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.layout-body {
  padding: 14px;
}

.scroll {
  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    width: 100%;
    background: #d8d8d8;
    border-radius: 6px;
    transition: all .2s ease;

    &:hover {
      background: #b4b4b4;
    }
  }
}

.table {
  width: 100%;
  box-shadow: 0 0 1px #5b5b5b;

  &__btn {
    margin: 3px 5px;
    //color: $primary;
  }

  &__img {
    width: 100px;
    padding: 6px 10px;
    display: inline-block;
    vertical-align: middle;
  }
}

.btn {
  margin: 4px;
}

.o-table {
  &__btn {
    color: $primary;
    margin: 3px 5px;
  }
}

.o-form {
  &__title {
    height: 42px;
    line-height: 42px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #ececec;
    margin: 30px 0 20px;

    &_hint {
      font-size: 14px;
      color: #cdcdcd;
      display: inline-block;
      vertical-align: middle;
      font-weight: normal;
    }
  }

  &__field {
    width: 400px;

    &_long {
      width: 100%;
    }

    &_small {
      width: 180px;
    }

    &_mini {
      width: 100px;
    }
  }
}

// 以下全局属性即将被遗弃，请勿使用
.form {
  &-filter {
    /deep/ .ivu-form-item {
      margin-bottom: 10px;
    }

    /deep/ .ivu-form-item-content {
      width: 150px;
      display: inline-block;
    }

    &-item_w150 {
      width: 150px;
    }
  }

  &__item {
    width: 400px;

    &_min {
      width: 150px;
    }
  }
}
